<!DOCTYPE html>
<html>


<style>
    .control-label{
        padding: 6px 0px;
    }
    .group-block{
        margin-top: 5px !important;
        margin-bottom: 10px !important;
    }
</style>

<head>
    <title>申请表</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <form class="form-inline">
            <div class="form-group group-block">
                <div class="col-sm-4 control-label">产品大类</div>
                <div class="col-sm-8">
                    <input type="text" class="form-control" v-model="q.productTypeName"  placeholder="产品大类"/>
                </div>
            </div>
            <div class="form-group group-block">
                <div class="col-sm-4 control-label">产品名称</div>
                <div class="col-sm-8">
                    <input type="text" class="form-control" v-model="q.productName"  placeholder="产品名称"/>
                </div>
            </div>
            <div class="form-group group-block">
                <div class="col-sm-4 control-label">申请时间</div>
                <div class="col-sm-8">
                    <input type="text" class="form-control"  class="layui-input" id="searchDate"  placeholder="申请时间"/>
                </div>
            </div>
            <div class="form-group group-block">
                <div class="col-sm-2 control-label"></div>
                <div class="col-sm-10">
                    <#if shiro.hasPermission("business:tregister:list")>
                        <a class="btn btn-primary" @click="query"><i class="fa fa-plus"></i>&nbsp;查询</a>
                    </#if>
                </div>

            </div>
            <div class="form-group group-block">
                <div class="col-sm-2 control-label"></div>
                <div class="col-sm-10">
                    <#if shiro.hasPermission("business:tregister:list")>
                        <a class="btn btn-success" @click="exportExcel"><i class="fa fa-plus"></i>&nbsp;导出</a>
                    </#if>
                </div>

            </div>
        </form>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">企业名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tRegister.companyName" placeholder="企业名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">用户</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tRegister.userName" placeholder="用户"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">手机号</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tRegister.mobile" placeholder="手机号"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">贷款金额</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tRegister.loanAmount" placeholder="贷款金额"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">贷款期限</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tRegister.loanTimeLimit" placeholder="贷款期限"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">需求描述</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tRegister.demandDescribe" placeholder="需求描述"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">优势</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tRegister.advantage" placeholder="优势"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">创建时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tRegister.createTime" placeholder="创建时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">产品名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tRegister.productName" placeholder="产品名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label"></div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="tRegister.productTypeName" placeholder=""/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <!--<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>-->
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/business/tregister.js?_${.now?long}"></script>
</body>
</html>